#include "mycombobox.h"
#include <QMouseEvent>
#include <Qt>

MyComboBox::MyComboBox(QWidget *parent):QComboBox(parent)
{
    setMinimumHeight(22);
    setMinimumWidth(70);
}

void MyComboBox::mousePressEvent(QMouseEvent *event)
{
    if(event->button() == Qt::LeftButton)
    {
        emit clicked(true);
    }
    QComboBox::mousePressEvent(event);
}
